<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jsonp</title>
    <script type="text/javascript">
        var localHandler=function (data) {
            alert("我是本地函数，可以被跨域的remote.js文件调用，远程js带来的数据是:"+data.result)
        }
    </script>
    <script type="text/javascript" src="http://localhost:3000/demo2/demo2-remote.js"></script>
</head>
<body>
</body>
</html>